In [1]:
import pandas as pd
import getpass, os
os.environ['PSQL_USER']='dengueadmin'
os.environ['PSQL_HOST']='localhost'
os.environ['PSQL_DB']='dengue'
os.environ['PSQL_PASSWORD']=getpass.getpass("Enter the database password: ")
In [2]:
os.chdir('..')
from infodenguepredict.data.infodengue import build_multicity_dataset
%pylab inline
In [3]:
dataset = build_multicity_dataset('Ceará')
Out[3]:
In [10]:
dataset.head()
Out[10]:
In [12]:
casos = dataset[[c for c in dataset.columns if c.startswith('casos_est') ]]
casos.plot(legend=False);
In [ ]:
In [ ]: